<template>
    <div>
        <van-tabbar active-color="#4189ff" inactive-color="#616060" route>
        <van-tabbar-item to="/home" icon="shouye1" icon-prefix="icon">首页</van-tabbar-item>
        <van-tabbar-item to="/cate" icon="fenlei" icon-prefix="icon">分类</van-tabbar-item>
        <van-tabbar-item to="/cart" :badge="$store.state.cart.items.length||''" icon="huodong" icon-prefix="icon">购物车</van-tabbar-item>
        <van-tabbar-item to="/user" icon="wode" icon-prefix="icon">我的</van-tabbar-item>
      </van-tabbar>

    </div>
</template>

<script>
export default {

}
</script>

<style lang="scss" scoped>

</style>
